package POJO;

public class User {

	private int userId;
	private String name;
	private String password;
	private String tel;
	private ProductInCar pCar;
	
	
	public ProductInCar getpCar() {
		return pCar;
	}
	public void setpCar(ProductInCar pCar) {
		this.pCar = pCar;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", name=" + name + ", password=" + password + ", tel=" + tel + "]";
	}
	
	
	
}
